package com.thilux.lame.global;

public class LameSystemProperties {

	private static final String WINDOWS_TYPE = "Windows";
	private static final String WINDOWS_FILE_SEPARATOR = "\\\\";
	private static final String OTHERS_FILE_SEPARATOR = "/";
	
	public static String getOsArchitecture(){
		return System.getProperty("os.arch");
	}
	
	public static String getOsName(){
		return System.getProperty("os.name");
	}
	
	public static String getFileSeparator(){
		
		if(getOsName().contains(WINDOWS_TYPE)){
			return WINDOWS_FILE_SEPARATOR;
		}else{
			return OTHERS_FILE_SEPARATOR;
		}
		
	}
	
}
